/**
 * @Author Puzzle
 * @Date 2022/6/14 5:19 下午
 **/

package router

import (
	"zsc-boot/app/system_layer/api"
	"zsc-boot/core/web"
)

func InitDictionaryRouterGroup() {
	dictApi := new(api.DictionaryApi)
	dictGroup := web.GetGin().Group("dictionary")
	{
		dictGroup.POST("", dictApi.Create)
		dictGroup.GET("", dictApi.Detail)
		dictGroup.DELETE("", dictApi.Delete)
		dictGroup.GET("/list", dictApi.List)
		dictGroup.PUT("", dictApi.Update)
	}
}
